ActionDone
TheActionDone
method is called to notify this clipboard object that a Cut, Copy, or Paste action was done.
ODUpdateID ActionDone (in ODCloneKind cloneKind);
cloneKind
- The kind of clone operation that copied data to or from the clipboard. The clone kind must be one of Cut (
kODCloneCut
), Copy (kODCloneCopy
), or Paste (kODClonePaste
).- return value
- The update ID identifying the version of the clipboard content involved with this operation.
DISCUSSION
Your part should call this method whenever it performs a Cut, Copy, or Paste operation. You should cache the returned update ID in case you ever need to undo or redo the action. Your part should not call theActionDone
method after pasting a link because that action does not get content from the clipboard.EXCEPTIONS
SEE ALSO
TheODClipboard::ActionRedone
method (page 87).
TheODClipboard::ActionUndone
method (page 88).
TheODPart::RedoAction
method (page 539).
TheODPart::UndoAction
method (page 549).
TheODUndo
class (page 806).
"Clipboard Update ID" on page 353 in OpenDoc Programmer's Guide.
"Undo for Clipboard" on page 354 in OpenDoc Programmer's Guide.
"Copying or Cutting to the Clipboard" on page 355 in OpenDoc Programmer's Guide.
"Pasting From the Clipboard" on page 356 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help